package com.zhonghui.mes.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonghui.common.annotation.Excel;
import com.zhonghui.common.core.domain.BaseEntity;

/**
 * 制造执行MES-领料申请明细对象 mes_material_apply_item
 *
 * @author zhonghui
 * @date 2024-11-12
 */
public class MesMaterialApplyItemVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 领料申请id */
    @Excel(name = "领料申请id")
    private Long applyId;

    /** 物料档案id */
    @Excel(name = "物料档案id")
    private Long materialId;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String materialName;

    /** 型号 */
    @Excel(name = "型号")
    @ApiModelProperty("型号")
    private String materialModel;

    /** 规格 */
    @Excel(name = "规格")
    @ApiModelProperty("规格")
    private String materialSpecifications;

    /** 单位 */
    @Excel(name = "单位")
    @ApiModelProperty("单位")
    private String materialUnit;

    /** 需求数量 */
    @Excel(name = "需求数量")
    private Long dosage;

    /** 已领数量 */
    @Excel(name = "已领数量")
    private Long receivedQuantity;

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaterialModel() {
        return materialModel;
    }

    public void setMaterialModel(String materialModel) {
        this.materialModel = materialModel;
    }

    public String getMaterialSpecifications() {
        return materialSpecifications;
    }

    public void setMaterialSpecifications(String materialSpecifications) {
        this.materialSpecifications = materialSpecifications;
    }

    public String getMaterialUnit() {
        return materialUnit;
    }

    public void setMaterialUnit(String materialUnit) {
        this.materialUnit = materialUnit;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setApplyId(Long applyId)
    {
        this.applyId = applyId;
    }

    public Long getApplyId()
    {
        return applyId;
    }
    public void setMaterialId(Long materialId)
    {
        this.materialId = materialId;
    }

    public Long getMaterialId()
    {
        return materialId;
    }
    public void setDosage(Long dosage)
    {
        this.dosage = dosage;
    }

    public Long getDosage()
    {
        return dosage;
    }
    public void setReceivedQuantity(Long receivedQuantity)
    {
        this.receivedQuantity = receivedQuantity;
    }

    public Long getReceivedQuantity()
    {
        return receivedQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("applyId", getApplyId())
                .append("materialId", getMaterialId())
                .append("materialName", getMaterialName())
                .append("materialModel", getMaterialModel())
                .append("materialSpecifications", getMaterialSpecifications())
                .append("materialUnit", getMaterialUnit())
                .append("dosage", getDosage())
                .append("receivedQuantity", getReceivedQuantity())
                .append("remark", getRemark())
                .toString();
    }
}
